<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		 <!--[if lt IE 9]>
    <script src="../js/jquery-1.11.3.js"></script>
    
<![endif]-->
<!--[if gte IE 9]><!-->
    <script src="../js/jquery-3.1.1.js"></script>
<!--<![endif]-->
<script>
$(document).ready(function(){
	$(":header").css("background-color","darkgoldenrod");
	$("tr:lt(4)").css("background-color", "yellow");
    $("tr:gt(5)").css("background-color", "yellow");
    $("li:lt(4)").css("background-color", "#98E1F5");
    $("li:gt(5)").css("background-color", "#00FF00");
    $("#cll li:not(.pp)").css("background-color","yellow");
});
</script>
</head>
<body>


​
<h1>欢迎来到我的主页</h1>
<h2>菜鸟教程主页</h2>
<h3>内容很棒!</h3>
​
<table border="1">
  <tr>
    <th>序号</th>
    <th>站点名</th>
    <th>网址</th>
  </tr>
  <tr>
    <td>1</td>
    <td>Google</td>
    <td>google.com</td>
  </tr>
  <tr>
    <td>2</td>
    <td>Runoob</td>
    <td>runoob.com</td>
  </tr>
  <tr>
    <td>3</td>
    <td>Taobao</td>
    <td>taobao.com</td>
  </tr>
  <tr>
    <td>4</td>
    <td>Baidu</td>
    <td>baidu.com</td>
  </tr>
  <tr>
    <td>5</td>
    <td>Sina</td>
    <td>sina.com.cn</td>
  </tr>
  <tr>
    <td>6</td>
    <td>Facebook</td>
    <td>facebook.com</td>
  </tr>
  <tr>
    <td>7</td>
    <td>twitter</td>
    <td>twitter.com</td>
  </tr>
  <tr>
    <td>8</td>
    <td>youtube</td>
    <td>youtube.com</td>
  </tr>
  
</table>
<ul id="intro">
<li>菜鸟教程</li>
<li>Google</li>
<li>淘宝</li>
<li>菜鸟教程</li>
<li>Google</li>
<li>淘宝</li>
<li>菜鸟教程</li>
<li>Google</li>
<li>淘宝</li>
</ul>

<ul id="cll">
<li>菜鸟教程</li>
<li>Google</li>
<li>淘宝</li>
<li>菜鸟教程</li>
<li>Google</li>
<li class="pp">淘宝</li>
<li>菜鸟教程</li>
<li>Google</li>
<li>淘宝</li>
</ul>
</body>
</html>